﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace Viki_DAL
{
    public class DbUtils
    {
        public  static String connect()
        {
            string sqlstring = ConfigurationManager.ConnectionStrings["VikiConnectionString"].ConnectionString.ToString();
            SqlConnection connection = new SqlConnection(sqlstring);
            connection.Open();
            return "连接成功";
        }
    }
}
